/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Administrator
 * Date: 2024-03-03
 * Time: 20:20
 */
/*import java.util.Scanner;*/

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Administrator
 * Date: 2024-03-01
 * Time: 17:59
 */


/*
public class Test {
    public static void main(String[] args) {
        System.out.println("aaa");
        System.out.println("bbb");
        System.out.println("ccc");
    }*/



    /*public static void main(String[] args) {
        int score = 6;
        if(score >= 60){
            System.out.println("本科目已及格");
        }else{
            System.out.println("本科目需要重考");
        }
    }*/



    /*public static void main(String[] args) {
        int num = 11;
        if(num % 2 == 0){
            System.out.println("偶数");
        }else{
            System.out.println("奇数");
        }
    }*/


    /*public static void main(String[] args) {
        int num = 0;
        if (num > 0){
            System.out.println("正数");
        }else if (num < 0){
            System.out.println("负数");
        }else{
            System.out.println("零");
        }
    }*/



    /*public static void main(String[] args) {
        int year = 2024;
        if(year % 4 == 0 && year % 100 != 0){
                System.out.println(year + "年是闰年");
        }else if(year % 400 != 0){
            System.out.println(year +"年是闰年");
        }else{
            System.out.println(year + "年不是闰年");
        }
    }*/



    /*public static void main(String[] args) {
        int year = 2024;
        if(year % 100 == 0){
            if(year % 400 == 0){
                System.out.println(year + "年是闰年");
            }else{
                if(year % 4 == 0){
                    System.out.println(year +"年是闰年");
                }
            }
        }else{
            System.out.println(year + "年不是闰年");
        }
    }*/



    /*public static void main(String[] args) {
        for (int year = 1000; year <= 2024; year++) {
            if(year % 100 == 0) {
                if (year % 400 == 0) {
                    System.out.println(year + "年是闰年");
                }
            }else{
                if(year % 4 == 0){
                    System.out.println(year +"年是闰年");
                }
            }
        }
    }*/



    /*public static void main(String[] args) {
        int day = 3;
        switch(day){
            case 1:
                System.out.println("星期一");
                break;
            case 2:
                System.out.println("星期二");
                break;
            case 3:
                System.out.println("星期三");
                break;
            case 4:
                System.out.println("星期四");
                break;
            case 5:
                System.out.println("星期五");
                break;
            case 6:
                System.out.println("星期六");
                break;
            case 7:
                System.out.println("星期天");
                break;
            default:
                System.out.println("输入错误");
                break;
        }
    }*/



    /*public static void main(String[] args) {
        String str = "hello";
        switch(str){
            case "hello":
                System.out.println("你好");
                break;
            case "helx":
                System.out.println("世界");
                break;
            default:
                System.out.println("输入错误");
                break;
        }
    }*/



    /*public static void main(String[] args) {
        int num = 1;
        while(num <= 10){
            System.out.print(num + " ");
            num++;
        }
    }*/



    /*public static void main(String[] args) {
        int num = 1;
        int ret = 0;
        while (num <= 100){
            ret += num;
            num++;
        }
        System.out.println(ret);
    }*/



    /*public static void main(String[] args) {
        int num = 1;
        int ret = 1;
        while (num <= 5){
            ret *= num;
            num++;
        }
        System.out.println(ret);
    }*/



    /*public static void main(String[] args) {
        int num = 1;
        int ret = 1;
        int sum = 0;
        while(num <= 5){
            ret *= num;
            sum += ret;
            num++;
        }
        System.out.println(sum);
    }*/



    /*public static void main(String[] args) {
        int n = 1;
        while(n <= 5){
            if(n == 2){
                break;
            }
            System.out.println(n);
            n++;
        }
    }*/



    /*public static void main(String[] args) {
        int num = 100;
        while (num <= 200)
        {
            if(num % 3 == 0){
                System.out.println(num);
                break;
            }
            num++;
        }
    }*/



    /*public static void main(String[] args) {
        int n = 1;
        while(n <= 5){
            if(n == 2){
                continue;
            }
            System.out.println(n);
            n++;
        }
    }*/




    /*public static void main(String[] args) {
        int n = 1;
        while(n <= 5){
            if(n == 2){
                n++;
                continue;
            }
            System.out.println(n);
            n++;
        }
    }*/



    /*public static void main(String[] args) {
        int num = 100;
        while(num <= 200){
            if(num % 3 != 0){
                num++;
                continue;
            }
            System.out.println(num + "是三的倍数");
            num++;
        }
    }*/



    /*public static void main(String[] args) {
        int num = 100;
        while(num <= 200){
            if(num % 3 == 0 && num % 4 == 0){
                System.out.println(num);
                num++;
            }
            num++;
        }
    }*/



    /*public static void main(String[] args) {
        int num = 100;
        while(num <= 200){
            if(num % 3 != 0 ) {
                num++;
                continue;
            }if(num % 4 != 0){
                num++;
                continue;
            }
            System.out.println(num);
            num++;
        }
    }*/



    /*public static void main(String[] args) {
        int sum = 0;
        for (int i = 0; i <= 10; i++) {
            sum += i;
        }
        System.out.println(sum);
    }*/



    /*public static void main(String[] args) {
        for (int i = 1; i <= 10; i++) {
            System.out.print(i + " ");
        }
    }*/



    /*public static void main(String[] args) {
        int sum = 0;
        for (int i = 1; i <= 100 ; i++) {
            sum += i;
        }
        System.out.println("sum = " + sum );
    }*/



    /*public static void main(String[] args) {
        int ret = 1;
        for (int i = 1; i <= 5 ; i++) {
            ret *= i;
        }
        System.out.println("5的阶乘是：" + ret);
    }*/



    /*public static void main(String[] args) {
        int ret = 0;
        for (int i = 1; i <= 5 ; i++) {
            int sum = 1;
            for (int j = 1; j <= i; j++) {
                sum *= j;
            }
            ret += sum;
        }
        System.out.println(ret);
    }*/



    /*public static void main(String[] args) {
        int ret = 0;
        int sum = 1;
        for (int i = 1; i <= 5 ; i++) {
            sum *= i;
            ret += sum;
        }
        System.out.println(ret);
    }*/



    /*public static void main(String[] args) {
        System.out.println("输出且换行");
        System.out.print("输出但不换行");
        System.out.printf("%d\n",10);
    }*/



    /*public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入你的姓名:");
        String name = scan.nextLine();
        System.out.println("姓名：" + name);
        System.out.println("请输入你的年龄：");
        int age = scan.nextInt();
        System.out.println("年龄：" + age);
        System.out.println("请输入你的薪资");
        float salary = scan.nextFloat();
        System.out.println("薪资：" + salary);
    }*/



    /*public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        System.out.println("请输入你的年龄：");
        int age = scan.nextInt();
        System.out.println("年龄：" + age);
        System.out.println("请输入你的姓名:");
        scan.nextLine();
        String name = scan.nextLine();
        System.out.println("姓名：" + name);
        System.out.println("请输入你的薪资");
        float salary = scan.nextFloat();
        System.out.println("薪资：" + salary);
        scan.close();
    }*/



    /*public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        while (scan.hasNextInt()){
            System.out.println("请输入你要测试的整数用例：");
            int num = scan.nextInt();
            System.out.println(num);
            System.out.println("==============================");
        }
        scan.close();
    }*/



    /*public static void main(String[] args) {
        Scanner scan =  new Scanner(System.in);
        int age = scan.nextInt();
        if(age > 0 && age <= 18){
            System.out.println("少年");
        } else if (age >= 19 && age <= 28) {
            System.out.println("青年");
        } else if (age >= 29 && age <= 55) {
            System.out.println("中年");
        } else {
            System.out.println("老年");
        }
    }*/



    /*public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        while (scan.hasNextInt()) {
            int num = scan.nextInt();
            int flag = 1;
            for (int j = 2; j < num - 1; j++) {
                if (num % j == 0) {
                    flag = 0;
                    System.out.println(num + "不是素数");
                    break;
                }
            }
            if (flag == 1) {
                System.out.println(num + "是素数");
            }
        }
    }*/



    /*public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        while (scan.hasNextInt()){
            int num = scan.nextInt();
            int flag = 1;
            for (int j = 2; j <= Math.sqrt(num); j++) {
                if (num % j == 0) {
                    flag = 0;
                    System.out.println(num + "不是素数");
                    break;
                }
            }if (flag == 1){
                System.out.println(num + "是素数");
            }
        }
    }*/



    /*public static void main(String[] args) {
        for (int num = 1; num <= 100 ; num++) {
            int i = 2;
            for (; i <= Math.sqrt(num); i++) {
                if(num % 2 == 0){
                    break;
                }
            }if(num == 1){
                System.out.println(num + "既不是正数也不是负数");
            }else if(i >= Math.sqrt(num)){
                System.out.println(num + "是素数");
            }else {
                System.out.println(num + "不是素数");
            }
        }
    }*/



    /*public static void main(String[] args) {
        int year = 1000;
        while (year <= 2000){
            if(year % 400 == 0 ){
                    System.out.println(year + "年是闰年");
                    year++;
            }if (year % 4 == 0 && year % 100 != 0){
                    System.out.println(year + "年是闰年");
                    year++;
            }
        }
    }*/



    /*public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        while(scan.hasNextInt()){
            int num = scan.nextInt();
            int i = 2;
            for (; i <= Math.sqrt(num) ; i++) {
                if(num % i == 0){
                    break;
                }
            }if(i >= Math.sqrt(num)){
                    System.out.println(num + "是素数");
                }else {
                    System.out.println(num + "不是素数");
            }
        }
    }*/



    /*public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int num = scan.nextInt();
        for (int i = 1; i <= num ; i++) {
            for (int j = 1; j <= i; j++) {
                int ret = i * j;
                System.out.printf("%d * %d = %d   ", i , j ,ret);
            }
            System.out.println();
        }
    }*/



    /*public static void main(String[] args) {
        for (int i = 1; i <= 999999; i++) {
            int count = 0;
            int tmp= i;
            while (tmp != 0) {
                tmp /= 10;//12 1
                count++;
            }
            tmp = i;
            double sum = 0.0;
            while (tmp != 0) {
                int ret = tmp % 10;
                sum += Math.pow(ret,count);
                tmp /= 10;
            }
            if (sum == i) {
                System.out.println(i);
            }
        }
    }*/



    /*public static void main(String[] args) {
        int num = 15;
        int count = 0;
        while (num != 0){
            num = num & (num - 1);
            count++;
        }
        System.out.println(count);
    }

}*/

